package com.sg.service.base.app;

import com.sg.dto.base.app.req.BatchQueryBusAppDocRelaReq;
import com.sg.dto.base.app.req.QueryAppFileRelationshipTestListReq;
import com.sg.dto.base.app.req.QueryBusAppDocRelaDetailReq;
import com.sg.dto.base.app.req.QueryBusAppDocRelaListReq;
import com.sg.entity.OmsBasicInstanceUnstructuredRelationship;

import java.util.List;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
public interface MOmsBasicInstanceUnstructuredRelationshipService {
    /**
     * 3-13-05批量删业务应用文档关系
     */
    boolean batchDeleteBusAppDocRela(List<String> reqDto);

    /**
     * 3-13-05修改业务应用文档关系
     */
    boolean updateBusAppDocRela(OmsBasicInstanceUnstructuredRelationship omsBasicInstanceUnstructuredRelationship);

    /**
     * 3-13-05批量查询业务应用文档关系
     */
    List<OmsBasicInstanceUnstructuredRelationship> batchQueryBusAppDocRela(BatchQueryBusAppDocRelaReq reqDto);

    /**
     * 3-13-05新增业务应用文档关系
     */
    String addBusAppDocRela(OmsBasicInstanceUnstructuredRelationship omsBasicInstanceUnstructuredRelationship);

    /**
     * 3-13-05查业务应用文档关系列表
     */
    List<OmsBasicInstanceUnstructuredRelationship> queryBusAppDocRelaList(QueryBusAppDocRelaListReq reqDto);

    /**
     * 3-13-05删除业务应用文档关系
     */
    boolean deleteBusAppDocRela(String unstructuredDataRelationshipId);

    /**
     * 3-13-05批量修改业务应用文档关系
     */
    boolean batchUpdateBusAppDocRela(List<OmsBasicInstanceUnstructuredRelationship> omsBasicInstanceUnstructuredRelationship);

    /**
     * M3-13-05一键删除业务应用文档关系测试验证数据
     */
    boolean autoDeleteAppFileRelationshipTest(List<String> reqDto);

    /**
     * M3-13-05查询业务应用文档关系测试列表
     */
    List<OmsBasicInstanceUnstructuredRelationship> queryAppFileRelationshipTestList(QueryAppFileRelationshipTestListReq reqDto);

    /**
     * 3-13-05批量增文档附件关系
     */
    boolean batchAddDmAttRela(List<OmsBasicInstanceUnstructuredRelationship> omsBasicInstanceUnstructuredRelationship);

    /**
     * 3-13-05查询业务应用文档关系详情
     */
    OmsBasicInstanceUnstructuredRelationship queryBusAppDocRelaDetail(QueryBusAppDocRelaDetailReq reqDto);
    //
}
